<template>
   <ul>
       <!-- route携带query参数 -->
       <!-- <li>消息编号:{{$route.query.id}}</li>
       <li>消息标题:{{$route.query.title}}</li> -->
        <!-- route携带parmas参数 -->
        <li>消息编号:{{id}}</li>
       <li>消息标题:{{title}}</li>
   </ul>
</template>

<script>
export default {
  name:'Detail',
  props:['id','title']
}
</script>

<style>

</style>